#!/bin/sh

# check for avahi group or add one
getent group avahi || /usr/sbin/groupadd -g 84 avahi 
getent group netdev || /usr/sbin/groupadd -g 23 netdev

# check for avahi user or add one
getent passwd avahi || /usr/sbin/useradd -g avahi -u 84 -d /var/empty -s /bin/false -c "Avahi User" avahi 

# lock the account
/usr/bin/passwd -l avahi 
